package com.qingmeng.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.qingmeng.apicommon.model.entity.UserInterfaceInfo;

/**
* @author WPF
* @description 针对表【user_interface_info(接口信息表)】的数据库操作Service
* @createDate 2024-12-12 22:00:40
*/
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {

    /**
     * 校验
     *
     * @param post
     * @param add 是否为创建校验
     */
    void validUserInterfaceInfo(UserInterfaceInfo post, boolean add);

    /**
     * 调用接口统计
     * @param userId
     * @param interfaceId
     */
     boolean invokeCountNum(long userId,long interfaceId);

}
